package com;
/*
 *用户类
 **/

public class Users2 {//公有类

    private double first;//属性私有化
    private String sym;//属性私有化
    private double second;//属性私有化
    //保留此默认的构造方法
    public Users2(){

    }
    //所有的私有属性用getter和setter封装
    public double getFirst() {
        return first;
    }

    public String getSym() {
        return sym;
    }

    public double getSecond() {
        return second;
    }

    public double setFirst(double f) {
        return this.first=first;
    }

    public String setSym(String sym) {
        return this.sym= this.sym;
    }

    public double setSecond(double s) {
        return this.second=second;
    }

}
